module.exports = {
  publicPath: './',
  pages: {
    index: {
      entry: 'src/main.js',
      title: '新鲜音乐'
    }
  },
  devServer: {
    open: true,
    host: 'localhost',
    port: '8080',
    proxy: {
      '/': {
        target: 'https://music.zmod.cn',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/': ''
        }
      }
    }
  }
}